home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aac.d64
/
doubler.doc
< prev
next >
Wrap
Text File
|
2007-02-28
|
7KB
|
260 lines
* ─ ╧ ╒ ┬ ╠ ┼ ╥ *
╘WO ├OLUMN ╞ILE ╨RINTER
(C) ╩AN. 1986 BY ╩AMES ╓ENTOLA
─OCUMENTATION
╬╧╘┼: ╘HIS PROGRAM MAY BE COPIED
AND GIVEN AWAY AS LONG AS THIS
DOCUMENTATION FILE WITH ├╥┼─╔╘╙
GOES WITH IT. ╔T MAY NOT BE
SOLD.
╘O MAKE A HARDCOPY OF THIS FILE,
RETURN TO THE MENU AND SELECT
╨RINT ╔T ╧UT. ╔F YOU DON'T KNOW
HOW TO USE THE FIELDS YET, JUST
HIT ╥ETURNS IN ANSWER TO THE
FIRST FIVE QUESTIONS AND THEN,
AT THE FILENAME PROMPT, ENTER:
DOUBLER.DOC
AND THIS FILE WILL BE PRINTED.
├╥┼─╔╘╙:
╘HIS PROGRAM IS A HACK OF A MUCH
LONGER AND MORE ELABORATE FILE
READING AND PRINTING SYSTEM
DEVELOPED BY ├OLIN ╘HOMPSON AND
OTHERS AS THE NEWSLETTER ON DISK
OF THE:
├64 ╫EST ╒SERS ╟ROUP
┬OX 406
╙ANTA ═ONICA, ├┴ 90406
╔ HACKED IT DOWN TO MAKE A
UTILITY FOR PRINTING MY ┼ASY
╙CRIPT FILES IN DOUBLE COLUMNS
WITHOUT HAVING TO RUN THE PAPER
BACK UP TO THE TOP AND GUESS
ABOUT WHERE THE FIRST LINE WOULD
PRINT. ╔ PRESERVED THE BAR MENU
AS AN EXAMPLE OF ├╧═┴╠'S POWER.
├HRIS ╦AISER (├╦┴╔╙┼╥ ON ─ELPHI)
GAVE ME THE VALUABLE TIP ABOUT
PRINTER SELECTION FROM ┼ASY
╙CRIPT. ─AVID ╙TIDOLPH IS THE
AUTHOR OF THE DIRECTORY READING
PROCEDURE. ╙TEVE ╨LEGGE ALSO
GAVE USEFUL ADVICE. ╞ROM ├OLIN
╘HOMPSON'S ├OMMUNICATION ╧N ─ISK
(├╧─) ═┼╬╒, ╔ HAVE EXTRACTED THE
FILE READER, TWO COULUMN
PRINTER, AND BAR MENU. ╔ HAVE
ADDED SOME USER OPTIONS ABOUT
THE PRINTING AND REDUCED THE
COLUMNS TO THIRTY-TWO CHARACTERS
FOR A LESS CROWDED LOOKING PAGE.
╞┼┴╘╒╥┼╙:
┘OUR TEXT WILL APPEAR IN COLUMNS
OF 50 LINES EACH, WITH AUTOMATIC
PAGE NUMBERING AVAILABLE.
┴LTHOUGH MOST WORDPROCESSORS
SHOULD WORK, THE EXAMPLES HERE
ALL REFER TO ┼ASY ╙CRIPT. ═AKE
ADJUSTMENTS AS NEEDED.
╨╥┼╨┴╥╔╬╟ ╘╚┼ ╞╔╠┼╙.
┘OU NEED TO SELECT THE ├┬═
PRINTER OPTION (OPTION 0) FROM
THE START UP SCREEN OF ┼ASY
╙CRIPT. ╘HIS INSURES THAT YOUR
FILES WILL BE IN THE RIGHT FORM.
(╬OTE FOR OTHER WORDPROCESSORS:
THE FILES YOU WANT HAVE LINES
THAT ALL BEGIN WITH QO AND END
IN A CARRIAGE RETURN.)
╙ET:
╠EFT MARGIN=1
╥IGHT MARGIN=32
╨AGE LENGTH=50
╘EXT LENGTH=50
╬O JUSTIFICATION.
╙AVE A FILE THE NORMAL WAY
(╨┼╘╙├╔╔) IN CASE YOU DECIDE TO
DO SOME EDITING LATER. ╘HEN
SAVE A FILE FOR ─╧╒┬╠┼╥ BY
SELECTING ╧UTPUT ├ONTINUOUS
╙EQUENTIAL. ╘HE KEYSTROKES ARE:
FUNCTION KEY 1
╧
├
╙
THEN THE FILENAME.
(╔T IS IMPORTANT TO USE THE ├.
╔F YOU DON'T, ┼ASY ╙CRIPT WILL
FILL BLANK LINES FROM TEXT
BOTTOM TO PAGE BOTTOM WITH @S
AND MESS THINGS UP. ┴PPARENTLY,
IF YOU HAVE SELECTED ├, IT
SIMPLY SENDS A PAGEFEED.)
╨╥╔╬╘┼╥ ├╧╬╘╥╧╠.
╔F YOUR PRINTER SUPPORTS IT, YOU
CAN HAVE CORRESPONDENCE MODE,
UNDERLINING, AND THE LIKE. ╙ET
YOUR INTERFACE TO EMULATE A ├┬═
PRINTER (RATHER THAN USING THE
╘RANSPARENT MODE USUALLY
REQUIRED WITH ┼ASY ╙CRIPT.)
╘HAT REQUIRES TWO ESCAPE CODES
TO MAKE JUST ONE. ╙O USE THE
NORMAL PRINTER COMMANDS, BUT
PRECEDE THEM WITH TWO ESCAPES:
FUNCTION KEY 1
UP ARROW
FUNCTION KEY 1
UP ARROW
THE PRINTER CODE
┘OU SHOULD SEE TWO REVERESED ┼'S
FOR THE ESCAPES: CHR$(27)
CHR$(27).
╞OR EXAMPLE, TO TURN ON
CORRESPONDENCE MODE, MY ╧KI WILL
ACCEPT ┴╙├╔╔ 1 OR DECIMAL 49.
╙O ╔ SIMPLY SEND TWO ESCAPES AND
A 1. (╘HERE IS NO NEED TO
DEFINE *1=49 IN ┼ASY ╙CRIPT AS ╔
WOULD IF ╔ WERE IN ╘RANSPARENT
MODE.). ┬UT NOTE THAT SINCE
─╧╒┬╠┼╥ WILL PROBABLY BE
PRINTING SOME HEADLINES BEFORE
THE FILE (SEE BELOW), YOU MAY
WANT TO TURN ON CORRESPONDENCE
MODE BEFORE YOU RUN THE PROGRAM
SO THAT THE HEADLINES WILL NOT
BE PRINTED IN DRAFT MODE BEFORE
THE PROGRAM GETS TO THE FILE
ITSELF. ╘O DO THIS, SIMPLY TYPE
THE FOLLOWING IN IMMEDIATE MODE
IN ├╧═┴╠:
SELECT "LP:"
// OUTPUT TO LINE PRINTER
PRINT
CHR$(27),CHR$(27),CHR$(N)
// N = YOUR PRINTER CODE
SELECT "DS:"
// OUTPUT TO DATA SCREEN.
┘OUR PRINTER SHOULD NOW BE SET
UP AND YOU CAN RUN ─╧╒┬╠┼╥.
╚ERE'S ANOTHER EXAMPLE. ╞OR
UNDERLINING, THE ╧KI ACCEPTS AN
UPPER CASE ├. ╙O TWO REVERSE
┼'S ON THE SCREEN FOLLOWED BY ├
TELL ME THAT UNDERLINING WILL BE
TURNED ON AT THAT POINT.
╙┼╘╘╔╬╟ ╒╨ ┘╧╒╥ ╨┴╟┼.
╫HEN YOU SELECT ╨RINT A ╞ILE
FROM THE BAR MENU, YOU WILL BE
PRESENTED WITH A SERIES OF
QUESTIONS. ╘O UNDERSTAND HOW TO
ANSWER THEM, THE FOLLOWING
INFORMATION SHOULD BE USEFUL.
─╧╒┬╠┼╥ IS SET UP TO PRINT A
BLANK LINE AT THE TOP OF EVERY
PAGE. ╬EXT THERE ARE FOUR
"FIELDS" FOR YOU TO DEFINE, THEN
TWO MORE LINES, THEN YOUR 50 (OR
FEWER) DOUBLE COLUMNS, THEN
THREE BLANKS, THEN ONE FIELD AT
THE FOOT, THEN SIX BLANKS TO GET
TO THE NEXT PAGE.
┴NY FIELD CAN BE A RULER OR A
HEADLINE AND CAN CONTAIN
AUTOMATIC PAGINATION AND/OR BE
BLANK. ┴ RULER IS A LINE MADE
UP OF A CHARACTER OF YOUR CHOICE
REPEATING 67 TIMES. ╘HE
GRAPHICS SYMBOLS ON THE LEFT OF
THE KEYS ARE AVAILABLE FOR THIS
IF YOU ARE IN DRAFT MODE. ┴
HEADLINE IS ANY TEXT UP TO 67
CHARACTERS: YOU CAN CENTER IT BY
INSERTING SPACES. ╔F YOU SELECT
PAGINATION FOR A HEADLINE,
"╨AGE:" AND THE PAGE NUMBER WILL
BE PRINTED AT ITS RIGHT, SO BE
SURE YOUR TEXT LEAVES ROOM FOR
THAT. ╘O SELECT A BLANK RULER
OR HEADLINE (ONLY HEADLINES CAN
HAVE PAFINATION) SIMPLY HIT
╥┼╘╒╥╬. ╥EMEMBER THAT A NULL
RULER OR HEADLINE IS NOT
SKIPPED; IT WILL PRINT A BLANK
LINE.
╚╔╬╘╙:
┘OU COULD MAKE A LETTERHEAD BY
USING THE TOP THREE FIELDS FOR
YOUR NAME AND ADDRESS AND THE
FOURTH FOR A RULER. ╔F YOU DO
NOT WANT A FULL RULER, SELECT
HEADLINE AND SIMPLY ENTER WHAT
YOU WANT, WHERE YOU WANT IT AS
ITS TEXT. ╘HE TEXT LINE IS 67
CHARACTERS WIDE; USE THAT AS A
GUIDE FOR CENTERING. ─O NOT
TAKE THE LEFT MARGIN INTO
ACCOUNT: YOUR FIELD WILL
AUTOMATICALLY BEGIN AT TAB (8).
┘OU CAN HAVE A LINE THAT IS
BLANK EXCEPT FOR THE "╨AGE:" AND
THE NUMBER. ╘O DO THIS AT THE
FOOT, FOR EXAMPLE, SELECT
╚EADLINE FOR FIELD 5, ENTER A
BLANK (OR ╥┼╘╒╥╬) AS ITS TEXT
AND THEN SELECT PAGINATION.
├╧══┼╬╘╙:
╔F YOU DO NOT HAVE A FASTLOADING
VERSION OF ├╧═┴╠, THE PROCESS OF
USING THIS PROGRAM MAY SEEM A
BIT TEDIOUS. ┬UT IF YOU HAVE
EVER TRIED TO PRINT IN DOUBLE
COLUMNS FROM ┼ASY ╙CRIPT, YOU
KNOW WHAT A TRIAL AND ERROR
PROCESS IT IS. ╔F YOU HAVE NOT,
YOU SHOULD PRINT SOMETHING FROM
─╧╒┬╠┼╥ TO SEE HOW YOU LIKE IT.
╘HERE IS ALSO A SMALL ADVANTAGE.
╙INCE YOUR FINAL COLUMNS ARE 32
CHARACTERS WIDE, YOUR OUTPUT TO
VIDEO GIVES YOU THE WHOLE
PICTURE AT ONCE.
╔ WELCOME ANY COMMENTS OR
IMPROVEMENTS. ┘OU CAN REACH ME
ON ─ELPHI OR ╤LINK AS ╔├┴╥╒╙.
╧N ├╔╙ MY ╔─ IS 70626,423. ╔
CAN ALSO BE FOUND ON MOST
╘HURSDAY NIGHTS IN THE ├╧═┴╠
ROOM ON ╨LAY╬ET AS ╩IM ╓.
╩IM ╓ENTOLA
╩ANUARY, 1986.